from scrapy import cmdline

# one way to start
# cmdline.execute('scrapy crawl douban'.split(' '))
# another way to start
cmdline.execute(['scrapy', 'crawl', 'douban'])
